package com.hanbang.mrcm.bean;

import android.os.Parcel;
import android.os.Parcelable;

public class MyMessageListData implements Parcelable {

	private String user_tel;
	private String title;
	private String exchange_code;
	private String add_time;
	private String start_time;
	private String expired_time;
	private int user_type;
	private int is_user;
	private int user_count;
	private Double user_score;

	public String getUser_tel() {
		return user_tel;
	}

	public void setUser_tel(String user_tel) {
		this.user_tel = user_tel;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getExchange_code() {
		return exchange_code;
	}

	public void setExchange_code(String exchange_code) {
		this.exchange_code = exchange_code;
	}

	public String getAdd_time() {
		return add_time;
	}

	public void setAdd_time(String add_time) {
		this.add_time = add_time;
	}

	public String getStart_time() {
		return start_time;
	}

	public void setStart_time(String start_time) {
		this.start_time = start_time;
	}

	public String getExpired_time() {
		return expired_time;
	}

	public void setExpired_time(String expired_time) {
		this.expired_time = expired_time;
	}

	public int getUser_type() {
		return user_type;
	}

	public void setUser_type(int user_type) {
		this.user_type = user_type;
	}

	public int getIs_user() {
		return is_user;
	}

	public void setIs_user(int is_user) {
		this.is_user = is_user;
	}

	public int getUser_count() {
		return user_count;
	}

	public void setUser_count(int user_count) {
		this.user_count = user_count;
	}

	public Double getUser_score() {
		return user_score;
	}

	public void setUser_score(Double user_score) {
		this.user_score = user_score;
	}

	public static Parcelable.Creator<MyMessageListData> getCreator() {
		return CREATOR;
	}

	@Override
	public int describeContents() {
		return 0;
	}

	@Override
	public void writeToParcel(Parcel dest, int flags) {
		dest.writeString(user_tel);
		dest.writeString(title);
		dest.writeString(exchange_code);
		dest.writeString(add_time);
		dest.writeString(start_time);
		dest.writeString(expired_time);
		dest.writeInt(user_type);
		dest.writeInt(is_user);
		dest.writeInt(user_count);
		dest.writeDouble(user_score);

	}

	/**
	 * 序列化实体类
	 */
	public static final Parcelable.Creator<MyMessageListData> CREATOR = new Creator<MyMessageListData>() {
		public MyMessageListData createFromParcel(Parcel source) {
			MyMessageListData myMessageListData = new MyMessageListData();
			myMessageListData.user_tel = source.readString();
			myMessageListData.title = source.readString();
			myMessageListData.exchange_code = source.readString();
			myMessageListData.add_time = source.readString();
			myMessageListData.start_time = source.readString();
			myMessageListData.expired_time = source.readString();
			myMessageListData.user_type = source.readInt();
			myMessageListData.is_user = source.readInt();
			myMessageListData.user_count = source.readInt();
			myMessageListData.user_score = source.readDouble();
			return myMessageListData;
		}

		public MyMessageListData[] newArray(int size) {
			return new MyMessageListData[size];
		}
	};

}
